package com.mimosa.common.attachment;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.mimosa.common.entity.BaseEntity;

/**
 * 附件表
 * 
 */
@Entity
@Table(name = "T_attachment")
public class TAttachment extends BaseEntity {
	// 附件名
	@Column(nullable = false, length = 256)
	private String name;
	// 附件路径
	@Column(nullable = false, length = 512)
	private String path;
	// 附件路径
	@Column(nullable = true, length = 512)
	private String bigPath;

	public String getBigPath() {
		return bigPath;
	}

	public void setBigPath(String bigPath) {
		this.bigPath = bigPath;
	}

	// 父id
	@Column(nullable = true, length = 32)
	private String parentId;

	// 汇报ID
	@Column(nullable = true, length = 32)
	private String reportId;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getReportId() {
		return reportId;
	}

	public void setReportId(String reportId) {
		this.reportId = reportId;
	}
}